package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 服务包关联表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "ServicePackageItemEntity", name = "service_package_item", comment = "服务包关联表")
public class ServicePackageItemEntity extends BaseEntity {
    /**
     * 服务包外键
     */
    @MyColumn(value = "servicePackageId", name = "service_package_id", comment = "服务包外键", required = true)
    private Integer servicePackageId;

    /**
     * 服务项目外键
     */
    @MyColumn(value = "serviceItemId", name = "service_item_id", comment = "服务项目外键", required = true)
    private Integer serviceItemId;

    /**
     * 项目价格
     */
    @MyColumn(value = "itemPrice", name = "item_price", comment = "项目价格", required = true)
    private BigDecimal itemPrice;

    /**
     * 项目数量
     */
    @MyColumn(value = "itemNumber", name = "item_number", comment = "项目数量", required = true)
    private BigDecimal itemNumber;

    /**
     * 项目描述
     */
    @MyColumn(value = "itemDescribe", name = "item_describe", comment = "项目描述")
    private String itemDescribe;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public Integer getServicePackageId() {
        return servicePackageId;
    }

    public ServicePackageItemEntity setServicePackageId(Integer servicePackageId) {
        this.servicePackageId = servicePackageId;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public ServicePackageItemEntity setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public ServicePackageItemEntity setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
        return this;
    }

    public BigDecimal getItemNumber() {
        return itemNumber;
    }

    public ServicePackageItemEntity setItemNumber(BigDecimal itemNumber) {
        this.itemNumber = itemNumber;
        return this;
    }

    public String getItemDescribe() {
        return itemDescribe;
    }

    public ServicePackageItemEntity setItemDescribe(String itemDescribe) {
        this.itemDescribe = itemDescribe;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public ServicePackageItemEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}